﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IGolovkine.AoA.BinarySerialization;

namespace IGolovkine.AoA.Tcp
{
    [Serializable]
    public class TcpConnectionTerminated : TcpConnectionMessage
    {
        public TcpConnectionTerminated(CorrelationId connectionId) : base(connectionId)
        {
        }

        protected TcpConnectionTerminated(IBinaryReader reader)
            : base(reader)
        {
        }

        public override void Serialize(IBinaryWriter writer)
        {
            base.Serialize(writer);
        }

        public override string ToString()
        {
            return string.Format("{0}", this.GetType().Name);
        }
    }
}
